﻿using System;
using System.Data;
using System.Data.Common;
using System.Data.SqlClient;

namespace DbManager.Data
{
    public class MSSqlServerDataProvider :
        DataProvider
    {
        #region Override Properties

        public const string NameString = "MSSqlServer";
        public override string Name
        {
            get { return NameString; }
        }

        public override Type ConnectionType
        { 
            get { return typeof(SqlConnection); }
        }

        #endregion


        #region Override Methods

        public override IDbConnection CreateConnection()
        {
            return new SqlConnection();
        }

        #endregion 
    }
}
